#pragma once

#include <vulkan/vulkan.h>
#include "Render/VulkanMemory/MemoryPool.h"

struct SVulkanAutoRecycleBuffer
{
    ~SVulkanAutoRecycleBuffer();

    void ClearBuffer();

    uint64_t GetSize() const { return MemoryBlock.Size; }

    vk::Buffer Buffer;
    SVulkanMemoryBlock MemoryBlock;
};